package cn.zebra.dev.config.oss.tencent;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 腾讯云对象存储
 *
 * @author runnable@sina.cn
 */
@Configuration
@ConfigurationProperties(prefix = TenCentOssConfigureBean.PREFIX)
public class TenCentOssConfigureBean {

    /**
     * 默认前缀配置名
     */
    static final String PREFIX = "zebra.oss.tencent-yun";

    private String domain;
    /**
     * 腾讯云路径前缀
     */
    private String prefix;

    private Integer appId;

    private String secretId;

    private String secretKey;

    private String bucketName;

    private String region;

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }
}
